package com.xbongbong.pro.clue.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author long
 * @version v1.0
 * @date 2020/11/25 14:18
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ChangeClueStatusDTO extends BaseDTO {

    /**
     * 数据id
     */
    @NotNull(message = "{dto.msg.changeClueStatus.dataId.NotNull}")
    private Long dataId;

    /**
     * 备注
     */
    @Length(max = 500, message = "{dto.msg.changeClueStatus.memo.Length}")
    private String memo = "";
    /**
     * 无效原因
     */
    private String invalidReason;
}
